#include "base/Counter.h"

NEW_DELETE_OPERATORS_CPP(Counter,1000);

Counter::Counter (const char* _outName) {
    outputName = _outName;
    value = 0;
}

Counter::~Counter () {}

void Counter::increment (uint _a) {
    value += _a;
}

void Counter::clear () {
    value = 0;
}

uint64 Counter::peek () {
    return value;
}
